//
//  OutOfTimeBuyLayout.m
//  CenturyCity
//
//  Created by beisheng03 on 2017/12/18.
//  Copyright © 2017年 beisheng. All rights reserved.
//

#import "OutOfTimeBuyLayout.h"

@implementation OutOfTimeBuyLayout
- (void)prepareLayout{
    [super prepareLayout];
    
    self.itemSize = CGSizeMake((KScreenW - 6) / 3.0, 263);
    // 设置滚动方向:水平
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    
    self.minimumLineSpacing = 3;
//    self.minimumInteritemSpacing = 3;
    // 设置额外滚动区域
    //    CGFloat inset = (KScreenW - 220) * 0.5;
    self.sectionInset = UIEdgeInsetsMake(5, 0, 0, 0);
}
@end
